package cn.itcast.demo01;

import cn.itcast.demo01.utils.JedisUtil;
import redis.clients.jedis.Jedis;

public class demo02 {
    public static void main(String[] args) {
        Jedis jedis = JedisUtil.getJedis();
        jedis.set("name","赵四");
        String name = jedis.get("name");
        System.out.println(name);
    }
}
